package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 车辆费用单明细信息对象 erp_car_cost_detail_info
 *
 * @author cxl
 * @date 2024-09-08
 */
@TableName ("erp_car_cost_detail_info")
@ApiModel (value = "车辆费用单明细信息", description = "车辆费用单明细信息")
@Data
public class CarCostDetailEntity{

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 车辆费用单id */
    @ApiModelProperty ("车辆费用单id")
    @TableField ("car_cost_id")
    @Excel (name = "车辆费用单id")
    private String carCostId;

    /** 费用项目 */
    @ApiModelProperty ("费用项目")
    @TableField ("cost_item")
    @Excel (name = "费用项目")
    private String costItem;

    /** 车牌号 */
    @ApiModelProperty ("车牌号")
    @TableField ("car_num")
    @Excel (name = "车牌号")
    private String carNum;

    /** 发票类型 */
    @ApiModelProperty ("发票类型")
    @TableField ("invoice_type")
    @Excel (name = "发票类型")
    private String invoiceType;

    /** 不含税金额 */
    @ApiModelProperty ("不含税金额")
    @TableField ("excluding_tax_amount")
    @Excel (name = "不含税金额")
    private String excludingTaxAmount;

    /** 税率 */
    @ApiModelProperty ("税率")
    @TableField ("tax_rate")
    @Excel (name = "税率")
    private String taxRate;

    /** 税额 */
    @ApiModelProperty ("税额")
    @TableField ("tax_amount")
    @Excel (name = "税额")
    private String taxAmount;

    /** 费用金额 */
    @ApiModelProperty ("费用金额")
    @TableField ("cost_amount")
    @Excel (name = "费用金额")
    private String costAmount;

    /** 费用承担部门 */
    @ApiModelProperty ("费用承担部门")
    @TableField ("cost_bearing_dept")
    @Excel (name = "费用承担部门")
    private String costBearingDept;

    /** 项目0；商机1 */
    @ApiModelProperty ("项目0；商机1")
    @TableField ("project_or_business")
    @Excel (name = "项目0；商机1")
    private Integer projectOrBusiness;

    /** 项目编号/商机号 */
    @ApiModelProperty ("项目编号/商机号")
    @TableField ("project_code")
    @Excel (name = "项目编号/商机号")
    private String projectCode;

    /** 项目名称/商机名称 */
    @ApiModelProperty ("项目名称/商机名称")
    @TableField ("project_name")
    @Excel (name = "项目名称/商机名称")
    private String projectName;

    /** 起点至终点 */
    @ApiModelProperty ("起点至终点")
    @TableField ("start_to_end")
    @Excel (name = "起点至终点")
    private String startToEnd;

    /** 核定不含税金额 */
    @ApiModelProperty ("核定不含税金额")
    @TableField ("approve_excluding_tax_amount")
    @Excel (name = "核定不含税金额")
    private String approveExcludingTaxAmount;

    /** 核定税额 */
    @ApiModelProperty ("核定税额")
    @TableField ("approve_tax_amount")
    @Excel (name = "核定税额")
    private String approveTaxAmount;

    /** 核定费用金额 */
    @ApiModelProperty ("核定费用金额")
    @TableField ("approve_cost_amount")
    @Excel (name = "核定费用金额")
    private String approveCostAmount;

    /** 核定费用金额(本位币) */
    @ApiModelProperty ("核定费用金额(本位币)")
    @TableField ("approve_cost_amount_base")
    @Excel (name = "核定费用金额(本位币)")
    private String approveCostAmountBase;

    /** 核定不含税金额(本位币) */
    @ApiModelProperty ("核定不含税金额(本位币)")
    @TableField ("approve_excluding_tax_amount_base")
    @Excel (name = "核定不含税金额(本位币)")
    private String approveExcludingTaxAmountBase;

    /** 是否可用 */
    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    @Excel (name = "是否可用")
    private Integer isUsed;

    /** 创建人 */
    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    @Excel (name = "创建人")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 修改人 */
    @ApiModelProperty ("修改人")
    @TableField ("update_by")
    @Excel (name = "修改人")
    private String updateBy;

    /** 修改时间 */
    @ApiModelProperty ("修改时间")
    @TableField ("update_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

}
